package com.tx.java.chapter10.exercise10_2;

/**
 *
 */
public class Outer {
    private String str;

    public void setStr(String str) {
        this.str = str;
    }

    public class Inner{
        public String toString(){
            return str;
        }
    }

    Inner getInnerClass(){
        return new Inner();
    }
}